package com.tyj.movie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tyj.movie.entity.Movie;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyj
 * @since 2021-06-28
 */
public interface MovieMapper extends BaseMapper<Movie> {

    IPage<Movie> moviePagingQuery(@Param("moviePage") Page<Movie> moviePage, @Param("movieName") String movieName);

    void recoveryById(@Param("id") Long id);
}
